package com.lb.dao;

import java.util.List;
import com.lb.bean.User;
import com.lb.bean.Admin;

public interface AdminDAO {
	public Admin findAdminByNameandPassword(String name,String password);
    
	public List<User> findAllUser();
	
	public List<User> findUserByUserId(int userId);
	
	public User findUserByuserId(int userId);
	
	public void delete(User user);
}
